package cn.iocoder.yudao.module.wms.controller.admin.location.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 货位档案新增/修改 Request VO")
@Data
public class LocationSaveReqVO {

    @Schema(description = "货位id", requiredMode = Schema.RequiredMode.REQUIRED, example = "24721")
    private Long id;

    @Schema(description = "货位编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "货位编码不能为空")
    private String code;

    @Schema(description = "货位名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "货位名称不能为空")
    private String name;

}